package com.example.mbl.dao;

import com.example.mbl.entity.Gallery;
import com.example.mbl.result.business.GalleryPageResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GalleryMapper {
    int deleteByPrimaryKey(String id);

    int insert(Gallery record);

    int insertSelective(Gallery record);

    Gallery selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Gallery record);

    int updateByPrimaryKey(Gallery record);

    List<GalleryPageResult> getGalleryList(@Param("date") String date,
                                           @Param("start") int start,
                                           @Param("pagesize") int pagesize);
}